package com.ssy.lingxi.member.merchant.model.vo.lrc.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 更改会员等级升级阈值接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-24
 */
public class MemberLevelRuleUpdatePointVO implements Serializable {
    private static final long serialVersionUID = -4990441808091336676L;
    /**
     * 等级Id
     */
    @NotNull(message = "等级Id要大于0")
    @Positive(message = "等级Id要大于0")
    private Long levelId;

    /**
     * 升级阈值，大于等于0
     */
    @NotNull(message = "升级阈值要大于等于0")
    @PositiveOrZero(message = "升级阈值要大于等于0")
    private Integer point;

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }
}
